﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace sands
{
    public partial class frmBaseValue : Form
    {
        public frmBaseValue()
        {
            InitializeComponent();
        }

        private void btnOK_Click(object sender, EventArgs e)
        {
            uint tmp = 0;
            if(!uint.TryParse(txtValue.Text,out tmp))
            {
                MessageBox.Show("Podana kwota nie jest liczbą", "Problem", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
                this.DialogResult = DialogResult.None;
            }
        }
    }
}
